package org.cxn.tools.simple;


/**
 * 字符串常规操作
 * <p/>org.cxn.tools.simple
 * <p/>tools
 * <p/>Created by chenxiangning on 15-8-13.
 */
public class StringTool {

    /**
     * @param source 来源
     * @return 转换后的串
     */
    public String convertFirstLetterToUpperCase(String source) {
        if (source.length() > 0) {
            return source.substring(0, 1).toUpperCase() + source.substring(1);
        }
        return source;
    }
}